package com.vhall.component.entity.exam.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author guoxin.wang
 * @date 2021-07-19 19:35
 */
@Data
public class ExamAnswerReqVo implements Serializable {

    private static final long serialVersionUID = 783406523544937602L;

    @NotNull(message = "exam_id参数错误")
    @ParamName("exam_id")
    private Integer examId;

    @NotBlank(message = "room_id参数错误")
    @ParamName("room_id")
    private String roomId;

    @NotBlank(message = "extend参数错误")
    @ParamName("extend")
    private String extend;

    @NotNull(message = "answer_id参数错误")
    @ParamName("answer_id")
    private Integer answerId;

    private Integer accountId;

    private Long startTime;

    private Long endTime;

}
